package com.wcong.dao;

import com.wcong.pojo.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author wcong
 * @version 1.0
 * @date 2020-09-19 15:07
 */
@Mapper
public interface BooksMapper {

    Book getById(Integer id);

    List<Book> getByList();

    Integer insertBook(Book book);

    Integer deleteBookById(Integer id);

    Integer updateBook(Book book);

}
